<?php 

/**
* 
*/
class Car
{
	public $color='red';
	public $leght;
	public $size;
	public function run()
	{
		echo'汽车可以跑';
	}
	public function zr()
	{
		echo "汽车可以载人";
	}
}
$obj = new Car;
echo $obj->color;

echo $obj->run();

$obj->size='2.20';

echo $obj->size;

echo $obj->zr();




 ?>